DGMD S-14 Summer 2020 Final Project

Improving Interactions with Virtual Reality Objects in the AWS Cloud using IoT Wearable Devices

This project is an exploration into the interactions with virtual reality objects hosted within the cloud using IoT wearable devices. We analyzed the effects by performing similar interactions on a physical cube and a virtual cube by building a wearable device using the STMicroelectronics Sensor Tile, hooking it up to a virtual object in the cloud, and then capturing data while interacting with that object. We built this project as a part of the DGMD S-14 class at Harvard.

Physical Cube Data

Here I am gathering, cleaning, and assembling the data from the interactions from the physical cube into a more usable form. I do this by creating a function that will clean and format all the data.

In this step I break up all the data sets (1ft, 2ft, 3ft) into different lists of data frames for easier processing. You can see that 10 trails were run for each height.

Count of DataFrames for Physical 1ft Throws: 10
Count of DataFrames for Physical 2ft Throws: 10
Count of DataFrames for Physical 3ft Throws: 10

Here I am creating a function that will take a data frame and generate a chart from it. The function will also display the chart in the notebook.

For each of the data frames in each of the lists, I plot out a chart. In total there will be 30 charts displaying the timestamp on the X-axis and Y-acceleration on the Y-axis. I also display some descriptive statistics on of each individual data frame beneath the charts.

00:05:23.72000000:05:24.02000000:05:24.32000000:05:24.62000000:05:24.92000000:05:25.22000000:05:25.52000000:05:25.82000000:05:26.12000000:05:26.42000000:05:26.72000000:05:27.02000000:05:27.32000000:05:27.62000000:05:27.92000000:05:28.22000000:05:28.52000000:05:28.82000000:05:29.12000000:05:29.42000000:05:29.72000000:05:30.02000000:05:30.32000000:05:30.62000000:05:30.92000000:05:31.22000000:05:31.51000000:05:31.82000000:05:32.12000000:05:32.42000000:05:32.72000000:05:33.01000000:05:33.32000000:05:33.62000000:05:33.92000000:05:34.22000000:05:34.51000000:05:34.82000000:05:35.12000000:05:35.420000050010001500200025003000
Acc_Y10-n MA Acc_YTest #1 - 1 Foot Throw
A_y
count118.000000
mean1010.915254
std185.102493
min328.000000
25%968.000000
50%983.000000
75%1009.750000
max2435.000000
00:12:01.78000000:12:02.17000000:12:02.57000000:12:02.98000000:12:03.37000000:12:03.78000000:12:04.17000000:12:04.57000000:12:04.98000000:12:05.37000000:12:05.78000000:12:06.17000000:12:06.57000000:12:06.98000000:12:07.37000000:12:07.77000000:12:08.17000000:12:08.57000000:12:08.98000000:12:09.37000000:12:09.77000000:12:10.17000000:12:10.57000000:12:10.98000000:12:11.37000000:12:11.77000000:12:12.17000000:12:12.57000000:12:12.98000000:12:13.37000000:12:13.77000000:12:14.17000000:12:14.57000000:12:14.97000000:12:15.37000000:12:15.77000000:12:16.17000000:12:16.57000000:12:16.97000000:12:17.37000000:12:17.77000000:12:18.170000050010001500200025003000
Acc_Y10-n MA Acc_YTest #2 - 1 Foot Throw
A_y
count166.000000
mean1004.487952
std155.624090
min500.000000
25%985.000000
50%994.000000
75%1003.750000
max2240.000000
00:04:21.82000000:04:22.12000000:04:22.42000000:04:22.73000000:04:23.02000000:04:23.32000000:04:23.62000000:04:23.92000000:04:24.23000000:04:24.52000000:04:24.82000000:04:25.12000000:04:25.42000000:04:25.72000000:04:26.02000000:04:26.32000000:04:26.62000000:04:26.92000000:04:27.22000000:04:27.52000000:04:27.82000000:04:28.12000000:04:28.42000000:04:28.72000000:04:29.02000000:04:29.32000000:04:29.62000000:04:29.92000000:04:30.22000000:04:30.52000000:04:30.82000000:04:31.12000000:04:31.42000000:04:31.72000000:04:32.02000000:04:32.32000000:04:32.620000050010001500200025003000
Acc_Y10-n MA Acc_YTest #3 - 1 Foot Throw
A_y
count110.000000
mean1033.272727
std227.660616
min249.000000
25%964.750000
50%992.000000
75%1010.750000
max2214.000000
00:06:43.41000000:06:43.71000000:06:44.01000000:06:44.31000000:06:44.61000000:06:44.91000000:06:45.21000000:06:45.51000000:06:45.81000000:06:46.11000000:06:46.41000000:06:46.71000000:06:47.01000000:06:47.31000000:06:47.61000000:06:47.91000000:06:48.21000000:06:48.51000000:06:48.81000000:06:49.11000000:06:49.41000000:06:49.71000000:06:50.01000000:06:50.31000000:06:50.61000000:06:50.91000000:06:51.21000000:06:51.51000000:06:51.81000000:06:52.11000000:06:52.41000000:06:52.71000000:06:53.01000000:06:53.31000000:06:53.61000000:06:53.910000050010001500200025003000
Acc_Y10-n MA Acc_YTest #4 - 1 Foot Throw
A_y
count106.000000
mean1015.386792
std205.786925
min184.000000
25%967.000000
50%982.000000
75%1007.750000
max2189.000000
00:07:52.80000000:07:5300:07:53.20000000:07:53.40000000:07:53.60000000:07:53.80000000:07:5400:07:54.20000000:07:54.40000000:07:54.60000000:07:54.80000000:07:5500:07:55.20000000:07:55.40000000:07:55.60000000:07:55.80000000:07:5600:07:56.20000000:07:56.40000000:07:56.60000000:07:56.80000000:07:5700:07:57.20000000:07:57.40000000:07:57.60000000:07:57.80000000:07:5800:07:58.20000000:07:58.40000000:07:58.60000000:07:58.80000000:07:5900:07:59.20000000:07:59.40000000:07:59.60000000:07:59.80000000:08:0000:08:00.20000000:08:00.40000000:08:00.60000000:08:00.80000000:08:0100:08:01.20000000:08:01.40000000:08:01.60000000:08:01.80000000:08:0200:08:02.200000050010001500200025003000
Acc_Y10-n MA Acc_YTest #5 - 1 Foot Throw
A_y
count95.000000
mean1007.410526
std125.870120
min788.000000
25%972.500000
50%992.000000
75%1010.500000
max1881.000000
00:01:18.44000000:01:18.75000000:01:19.04000000:01:19.34000000:01:19.64000000:01:19.94000000:01:20.25000000:01:20.54000000:01:20.84000000:01:21.14000000:01:21.44000000:01:21.75000000:01:22.04000000:01:22.34000000:01:22.64000000:01:22.94000000:01:23.24000000:01:23.54000000:01:23.84000000:01:24.14000000:01:24.44000000:01:24.74000000:01:25.04000000:01:25.34000000:01:25.64000000:01:25.94000000:01:26.24000000:01:26.54000000:01:26.84000000:01:27.14000000:01:27.44000000:01:27.74000000:01:28.04000000:01:28.34000000:01:28.64000000:01:28.94000000:01:29.24000000:01:29.54000000:01:29.84000000:01:30.140000050010001500200025003000
Acc_Y10-n MA Acc_YTest #6 - 1 Foot Throw
A_y
count120.000000
mean1018.941667
std197.085073
min587.000000
25%976.000000
50%991.000000
75%1009.000000
max2568.000000
00:11:04.68000000:11:04.98000000:11:05.28000000:11:05.58000000:11:05.88000000:11:06.18000000:11:06.48000000:11:06.78000000:11:07.08000000:11:07.38000000:11:07.68000000:11:07.98000000:11:08.28000000:11:08.58000000:11:08.88000000:11:09.18000000:11:09.48000000:11:09.78000000:11:10.08000000:11:10.38000000:11:10.68000000:11:10.98000000:11:11.28000000:11:11.58000000:11:11.88000000:11:12.18000000:11:12.48000000:11:12.78000000:11:13.08000000:11:13.38000000:11:13.68000000:11:13.98000000:11:14.28000000:11:14.58000000:11:14.88000000:11:15.18000000:11:15.48000000:11:15.780000050010001500200025003000
Acc_Y10-n MA Acc_YTest #7 - 1 Foot Throw
A_y
count114.000000
mean1014.798246
std163.681116
min723.000000
25%964.000000
50%987.000000
75%1012.250000
max2204.000000
00:10:02.89000000:10:03.19000000:10:03.49000000:10:03.79000000:10:04.09000000:10:04.39000000:10:04.69000000:10:04.99000000:10:05.29000000:10:05.59000000:10:05.89000000:10:06.19000000:10:06.49000000:10:06.79000000:10:07.09000000:10:07.39000000:10:07.69000000:10:07.99000000:10:08.29000000:10:08.59000000:10:08.89000000:10:09.19000000:10:09.49000000:10:09.79000000:10:10.08000000:10:10.39000000:10:10.69000000:10:10.99000000:10:11.29000000:10:11.58000000:10:11.89000000:10:12.19000000:10:12.49000000:10:12.79000000:10:13.08000000:10:13.390000050010001500200025003000
Acc_Y10-n MA Acc_YTest #8 - 1 Foot Throw
A_y
count108.000000
mean1011.583333
std184.013415
min466.000000
25%970.000000
50%988.000000
75%1021.500000
max2416.000000
00:08:47.40000000:08:47.69000000:08:4800:08:48.30000000:08:48.60000000:08:48.89000000:08:49.19000000:08:49.50000000:08:49.80000000:08:50.10000000:08:50.39000000:08:50.69000000:08:5100:08:51.30000000:08:51.60000000:08:51.89000000:08:52.19000000:08:52.50000000:08:52.80000000:08:53.10000000:08:53.39000000:08:53.69000000:08:5400:08:54.30000000:08:54.60000000:08:54.89000000:08:55.19000000:08:55.50000000:08:55.80000000:08:56.09000000:08:56.39000000:08:56.69000000:08:5700:08:57.30000000:08:57.59000000:08:57.89000000:08:58.19000000:08:58.50000000:08:58.80000000:08:59.09000000:08:59.39000000:08:59.69000000:09:0000:09:00.300000050010001500200025003000
Acc_Y10-n MA Acc_YTest #9 - 1 Foot Throw
A_y
count130.000000
mean1009.223077
std143.341424
min617.000000
25%979.000000
50%1002.000000
75%1006.000000
max2268.000000
00:03:20.33000000:03:20.63000000:03:20.93000000:03:21.23000000:03:21.53000000:03:21.83000000:03:22.13000000:03:22.43000000:03:22.73000000:03:23.03000000:03:23.33000000:03:23.63000000:03:23.93000000:03:24.23000000:03:24.53000000:03:24.83000000:03:25.13000000:03:25.43000000:03:25.73000000:03:26.03000000:03:26.33000000:03:26.63000000:03:26.93000000:03:27.23000000:03:27.53000000:03:27.83000000:03:28.13000000:03:28.43000000:03:28.73000000:03:29.03000000:03:29.33000000:03:29.63000000:03:29.93000000:03:30.23000000:03:30.530000050010001500200025003000
Acc_Y10-n MA Acc_YTest #10 - 1 Foot Throw
A_y
count105.000000
mean1027.447619
std204.348401
min522.000000
25%967.000000
50%985.000000
75%1006.000000
max2312.000000
00:15:35.15000000:15:35.45000000:15:35.75000000:15:36.05000000:15:36.35000000:15:36.65000000:15:36.95000000:15:37.25000000:15:37.55000000:15:37.85000000:15:38.15000000:15:38.45000000:15:38.75000000:15:39.05000000:15:39.35000000:15:39.65000000:15:39.95000000:15:40.25000000:15:40.55000000:15:40.85000000:15:41.15000000:15:41.45000000:15:41.75000000:15:42.05000000:15:42.35000000:15:42.65000000:15:42.95000000:15:43.25000000:15:43.55000000:15:43.85000000:15:44.15000000:15:44.45000000:15:44.75000000:15:45.05000000:15:45.35000000:15:45.65000000:15:45.95000000:15:46.25000000:15:46.550000050010001500200025003000
Acc_Y10-n MA Acc_YTest #11 - 2 Foot Throw
A_y
count115.000000
mean1042.452174
std193.105700
min735.000000
25%979.500000
50%1007.000000
75%1030.500000
max2204.000000
00:17:55.44000000:17:55.74000000:17:56.04000000:17:56.34000000:17:56.64000000:17:56.94000000:17:57.24000000:17:57.54000000:17:57.84000000:17:58.14000000:17:58.44000000:17:58.74000000:17:59.04000000:17:59.33000000:17:59.64000000:17:59.94000000:18:00.24000000:18:00.54000000:18:00.83000000:18:01.14000000:18:01.44000000:18:01.74000000:18:02.04000000:18:02.33000000:18:02.64000000:18:02.94000000:18:03.24000000:18:03.54000000:18:03.83000000:18:04.14000000:18:04.44000000:18:04.74000000:18:05.04000000:18:05.33000000:18:05.64000000:18:05.94000000:18:06.240000050010001500200025003000
Acc_Y10-n MA Acc_YTest #12 - 2 Foot Throw
A_y
count111.000000
mean1023.369369
std202.631234
min716.000000
25%966.500000
50%989.000000
75%1021.000000
max2781.000000
00:13:23.76000000:13:24.07000000:13:24.37000000:13:24.67000000:13:24.97000000:13:25.26000000:13:25.57000000:13:25.87000000:13:26.17000000:13:26.47000000:13:26.76000000:13:27.07000000:13:27.37000000:13:27.67000000:13:27.96000000:13:28.26000000:13:28.57000000:13:28.87000000:13:29.17000000:13:29.46000000:13:29.76000000:13:30.07000000:13:30.37000000:13:30.67000000:13:30.96000000:13:31.26000000:13:31.57000000:13:31.87000000:13:32.17000000:13:32.46000000:13:32.76000000:13:33.07000000:13:33.37000000:13:33.67000000:13:33.96000000:13:34.26000000:13:34.57000000:13:34.870000050010001500200025003000
Acc_Y10-n MA Acc_YTest #13 - 2 Foot Throw
A_y
count112.000000
mean1022.196429
std198.859715
min495.000000
25%971.750000
50%991.500000
75%1019.000000
max2382.000000
00:19:09.43000000:19:09.73000000:19:10.03000000:19:10.33000000:19:10.63000000:19:10.93000000:19:11.23000000:19:11.53000000:19:11.83000000:19:12.13000000:19:12.43000000:19:12.73000000:19:13.03000000:19:13.33000000:19:13.63000000:19:13.93000000:19:14.23000000:19:14.53000000:19:14.83000000:19:15.13000000:19:15.43000000:19:15.73000000:19:16.03000000:19:16.33000000:19:16.63000000:19:16.93000000:19:17.23000000:19:17.53000000:19:17.83000000:19:18.13000000:19:18.43000000:19:18.73000000:19:19.03000000:19:19.33000000:19:19.63000000:19:19.93000000:19:20.23000000:19:20.530000050010001500200025003000
Acc_Y10-n MA Acc_YTest #14 - 2 Foot Throw
A_y
count114.000000
mean1019.026316
std181.170162
min747.000000
25%980.500000
50%993.000000
75%1000.000000
max2567.000000
00:22:28.71000000:22:29.01000000:22:29.31000000:22:29.61000000:22:29.91000000:22:30.21000000:22:30.51000000:22:30.81000000:22:31.11000000:22:31.41000000:22:31.71000000:22:32.01000000:22:32.31000000:22:32.61000000:22:32.91000000:22:33.21000000:22:33.51000000:22:33.81000000:22:34.11000000:22:34.41000000:22:34.71000000:22:35.01000000:22:35.31000000:22:35.61000000:22:35.91000000:22:36.21000000:22:36.51000000:22:36.81000000:22:37.11000000:22:37.41000000:22:37.71000000:22:38.01000000:22:38.31000000:22:38.61000000:22:38.91000000:22:39.21000000:22:39.51000000:22:39.81000000:22:40.11000000:22:40.41000000:22:40.710000050010001500200025003000
Acc_Y10-n MA Acc_YTest #15 - 2 Foot Throw
A_y
count123.000000
mean1037.626016
std261.550653
min370.000000
25%990.000000
50%998.000000
75%1004.000000
max2827.000000
00:14:13.36000000:14:13.66000000:14:13.96000000:14:14.26000000:14:14.56000000:14:14.86000000:14:15.16000000:14:15.46000000:14:15.76000000:14:16.06000000:14:16.36000000:14:16.66000000:14:16.96000000:14:17.26000000:14:17.56000000:14:17.86000000:14:18.16000000:14:18.46000000:14:18.76000000:14:19.06000000:14:19.36000000:14:19.66000000:14:19.96000000:14:20.26000000:14:20.56000000:14:20.86000000:14:21.16000000:14:21.46000000:14:21.76000000:14:22.06000000:14:22.36000000:14:22.66000000:14:22.96000000:14:23.26000000:14:23.56000000:14:23.86000000:14:24.16000000:14:24.46000000:14:24.76000000:14:25.06000000:14:25.36000000:14:25.66000000:14:25.96000000:14:26.26000000:14:26.56000000:14:26.860000050010001500200025003000
Acc_Y10-n MA Acc_YTest #16 - 2 Foot Throw
A_y
count137.000000
mean1023.613139
std176.951067
min605.000000
25%986.000000
50%994.000000
75%1002.000000
max2013.000000
00:16:43.25000000:16:43.44000000:16:43.64000000:16:43.85000000:16:44.05000000:16:44.25000000:16:44.44000000:16:44.64000000:16:44.84000000:16:45.05000000:16:45.25000000:16:45.44000000:16:45.64000000:16:45.84000000:16:46.05000000:16:46.25000000:16:46.44000000:16:46.64000000:16:46.84000000:16:47.05000000:16:47.25000000:16:47.44000000:16:47.64000000:16:47.84000000:16:48.05000000:16:48.25000000:16:48.44000000:16:48.64000000:16:48.84000000:16:49.05000000:16:49.25000000:16:49.44000000:16:49.64000000:16:49.84000000:16:50.05000000:16:50.25000000:16:50.44000000:16:50.64000000:16:50.84000000:16:51.05000000:16:51.25000000:16:51.44000000:16:51.64000000:16:51.84000000:16:52.04000000:16:52.25000000:16:52.44000000:16:52.64000000:16:52.84000000:16:53.040000050010001500200025003000
Acc_Y10-n MA Acc_YTest #17 - 2 Foot Throw
A_y
count100.000000
mean1017.390000
std214.463667
min558.000000
25%966.000000
50%991.000000
75%1009.500000
max2606.000000
00:23:2800:23:28.30000000:23:28.60000000:23:28.90000000:23:29.20000000:23:29.50000000:23:29.80000000:23:30.10000000:23:30.40000000:23:30.70000000:23:3100:23:31.30000000:23:31.60000000:23:31.90000000:23:32.20000000:23:32.50000000:23:32.80000000:23:33.10000000:23:33.40000000:23:33.70000000:23:3400:23:34.30000000:23:34.60000000:23:34.90000000:23:35.20000000:23:35.50000000:23:35.80000000:23:36.10000000:23:36.40000000:23:36.70000000:23:3700:23:37.30000000:23:37.60000000:23:37.90000000:23:38.20000000:23:38.50000000:23:38.80000000:23:39.10000000:23:39.40000000:23:39.70000000:23:4000:23:40.30000000:23:40.60000000:23:40.90000000:23:41.20000000:23:41.50000000:23:41.80000000:23:42.10000000:23:42.40000000:23:42.700000050010001500200025003000
Acc_Y10-n MA Acc_YTest #18 - 2 Foot Throw
A_y
count149.000000
mean1018.147651
std219.111886
min551.000000
25%968.000000
50%992.000000
75%1008.000000
max2827.000000
00:20:30.52000000:20:30.82000000:20:31.12000000:20:31.42000000:20:31.72000000:20:32.02000000:20:32.32000000:20:32.62000000:20:32.92000000:20:33.22000000:20:33.52000000:20:33.82000000:20:34.12000000:20:34.42000000:20:34.72000000:20:35.02000000:20:35.32000000:20:35.62000000:20:35.92000000:20:36.22000000:20:36.52000000:20:36.82000000:20:37.12000000:20:37.42000000:20:37.72000000:20:38.02000000:20:38.32000000:20:38.62000000:20:38.92000000:20:39.22000000:20:39.52000000:20:39.82000000:20:40.12000000:20:40.42000000:20:40.72000000:20:41.020000050010001500200025003000
Acc_Y10-n MA Acc_YTest #19 - 2 Foot Throw
A_y
count106.000000
mean1047.113208
std281.108666
min509.000000
25%979.250000
50%995.000000
75%1009.750000
max2838.000000
00:21:32.21000000:21:32.51000000:21:32.82000000:21:33.11000000:21:33.41000000:21:33.71000000:21:34.01000000:21:34.32000000:21:34.61000000:21:34.91000000:21:35.21000000:21:35.51000000:21:35.82000000:21:36.11000000:21:36.41000000:21:36.71000000:21:37.01000000:21:37.32000000:21:37.61000000:21:37.91000000:21:38.21000000:21:38.51000000:21:38.81000000:21:39.11000000:21:39.41000000:21:39.71000000:21:40.01000000:21:40.31000000:21:40.61000000:21:40.91000000:21:41.21000000:21:41.51000000:21:41.81000000:21:42.11000000:21:42.41000000:21:42.71000000:21:43.01000000:21:43.31000000:21:43.610000050010001500200025003000
Acc_Y10-n MA Acc_YTest #20 - 2 Foot Throw
A_y
count116.000000
mean1019.784483
std218.222655
min331.000000
25%981.250000
50%995.000000
75%1007.750000
max2746.000000
00:27:19.48000000:27:19.78000000:27:20.08000000:27:20.38000000:27:20.68000000:27:20.98000000:27:21.28000000:27:21.58000000:27:21.88000000:27:22.17000000:27:22.48000000:27:22.78000000:27:23.08000000:27:23.38000000:27:23.67000000:27:23.98000000:27:24.28000000:27:24.58000000:27:24.88000000:27:25.17000000:27:25.48000000:27:25.78000000:27:26.08000000:27:26.38000000:27:26.67000000:27:26.98000000:27:27.28000000:27:27.58000000:27:27.88000000:27:28.17000000:27:28.48000000:27:28.78000000:27:29.08000000:27:29.37000000:27:29.67000000:27:29.98000000:27:30.28000000:27:30.58000000:27:30.87000000:27:31.170000050010001500200025003000
Acc_Y10-n MA Acc_YTest #21 - 3 Foot Throw
A_y
count118.000000
mean1025.415254
std191.328345
min375.000000
25%991.250000
50%1003.500000
75%1014.500000
max2613.000000
00:32:45.54000000:32:45.74000000:32:45.94000000:32:46.14000000:32:46.34000000:32:46.54000000:32:46.74000000:32:46.94000000:32:47.14000000:32:47.34000000:32:47.54000000:32:47.74000000:32:47.94000000:32:48.14000000:32:48.34000000:32:48.54000000:32:48.74000000:32:48.94000000:32:49.14000000:32:49.34000000:32:49.54000000:32:49.74000000:32:49.94000000:32:50.14000000:32:50.34000000:32:50.54000000:32:50.74000000:32:50.94000000:32:51.14000000:32:51.34000000:32:51.54000000:32:51.74000000:32:51.94000000:32:52.14000000:32:52.34000000:32:52.54000000:32:52.74000000:32:52.94000000:32:53.14000000:32:53.34000000:32:53.54000000:32:53.74000000:32:53.94000000:32:54.14000000:32:54.34000000:32:54.54000000:32:54.74000000:32:54.94000000:32:55.14000000:32:55.340000050010001500200025003000
Acc_Y10-n MA Acc_YTest #22 - 3 Foot Throw
A_y
count100.000000
mean1012.430000
std271.411881
min510.000000
25%961.000000
50%990.000000
75%1005.250000
max3015.000000
00:33:45.74000000:33:46.03000000:33:46.33000000:33:46.64000000:33:46.94000000:33:47.24000000:33:47.53000000:33:47.83000000:33:48.14000000:33:48.44000000:33:48.74000000:33:49.03000000:33:49.33000000:33:49.64000000:33:49.94000000:33:50.23000000:33:50.53000000:33:50.83000000:33:51.14000000:33:51.44000000:33:51.73000000:33:52.03000000:33:52.33000000:33:52.64000000:33:52.94000000:33:53.23000000:33:53.53000000:33:53.83000000:33:54.14000000:33:54.44000000:33:54.73000000:33:55.03000000:33:55.33000000:33:55.64000000:33:55.94000000:33:56.23000000:33:56.53000000:33:56.830000050010001500200025003000
Acc_Y10-n MA Acc_YTest #23 - 3 Foot Throw
A_y
count113.000000
mean1060.000000
std331.866098
min164.000000
25%979.000000
50%1002.000000
75%1020.000000
max2921.000000
00:28:21.67000000:28:21.97000000:28:22.27000000:28:22.57000000:28:22.87000000:28:23.17000000:28:23.47000000:28:23.77000000:28:24.07000000:28:24.37000000:28:24.67000000:28:24.97000000:28:25.27000000:28:25.57000000:28:25.87000000:28:26.17000000:28:26.47000000:28:26.77000000:28:27.07000000:28:27.37000000:28:27.67000000:28:27.97000000:28:28.27000000:28:28.57000000:28:28.87000000:28:29.17000000:28:29.47000000:28:29.77000000:28:30.07000000:28:30.37000000:28:30.67000000:28:30.97000000:28:31.27000000:28:31.57000000:28:31.87000000:28:32.17000000:28:32.47000000:28:32.77000000:28:33.07000000:28:33.37000000:28:33.67000000:28:33.970000050010001500200025003000
Acc_Y10-n MA Acc_YTest #24 - 3 Foot Throw
A_y
count126.000000
mean1046.730159
std240.142105
min222.000000
25%995.250000
50%1003.500000
75%1011.500000
max2914.000000
00:31:35.05000000:31:35.35000000:31:35.65000000:31:35.95000000:31:36.25000000:31:36.55000000:31:36.85000000:31:37.15000000:31:37.45000000:31:37.75000000:31:38.05000000:31:38.35000000:31:38.65000000:31:38.95000000:31:39.25000000:31:39.55000000:31:39.85000000:31:40.15000000:31:40.45000000:31:40.75000000:31:41.05000000:31:41.35000000:31:41.65000000:31:41.95000000:31:42.25000000:31:42.55000000:31:42.85000000:31:43.15000000:31:43.45000000:31:43.75000000:31:44.05000000:31:44.35000000:31:44.65000000:31:44.95000000:31:45.25000000:31:45.55000000:31:45.85000000:31:46.15000000:31:46.45000000:31:46.75000000:31:47.05000000:31:47.35000000:31:47.65000000:31:47.95000000:31:48.25000000:31:48.55000000:31:48.85000000:31:49.15000000:31:49.45000000:31:49.750000050010001500200025003000
Acc_Y10-n MA Acc_YTest #25 - 3 Foot Throw
A_y
count149.000000
mean1031.966443
std264.362656
min441.000000
25%994.000000
50%1003.000000
75%1012.000000
max3222.000000
00:29:47.56000000:29:47.86000000:29:48.16000000:29:48.46000000:29:48.76000000:29:49.06000000:29:49.36000000:29:49.66000000:29:49.96000000:29:50.26000000:29:50.56000000:29:50.86000000:29:51.16000000:29:51.46000000:29:51.76000000:29:52.06000000:29:52.36000000:29:52.66000000:29:52.96000000:29:53.26000000:29:53.56000000:29:53.86000000:29:54.16000000:29:54.46000000:29:54.76000000:29:55.06000000:29:55.36000000:29:55.66000000:29:55.96000000:29:56.26000000:29:56.56000000:29:56.86000000:29:57.16000000:29:57.46000000:29:57.76000000:29:58.06000000:29:58.36000000:29:58.66000000:29:58.96000000:29:59.26000000:29:59.56000000:29:59.86000000:30:00.16000000:30:00.46000000:30:00.76000000:30:01.06000000:30:01.36000000:30:01.66000000:30:01.960000050010001500200025003000
Acc_Y10-n MA Acc_YTest #26 - 3 Foot Throw
A_y
count147.000000
mean1017.761905
std205.570850
min484.000000
25%982.000000
50%1002.000000
75%1009.000000
max3169.000000
00:34:47.03000000:34:47.33000000:34:47.63000000:34:47.93000000:34:48.23000000:34:48.53000000:34:48.83000000:34:49.13000000:34:49.43000000:34:49.73000000:34:50.03000000:34:50.33000000:34:50.63000000:34:50.93000000:34:51.23000000:34:51.53000000:34:51.83000000:34:52.13000000:34:52.43000000:34:52.73000000:34:53.03000000:34:53.33000000:34:53.63000000:34:53.93000000:34:54.23000000:34:54.53000000:34:54.83000000:34:55.13000000:34:55.43000000:34:55.73000000:34:56.03000000:34:56.33000000:34:56.63000000:34:56.93000000:34:57.23000000:34:57.53000000:34:57.83000000:34:58.13000000:34:58.43000000:34:58.73000000:34:59.03000000:34:59.33000000:34:59.630000050010001500200025003000
Acc_Y10-n MA Acc_YTest #27 - 3 Foot Throw
A_y
count128.000000
mean1063.296875
std304.874089
min312.000000
25%993.750000
50%1007.000000
75%1034.000000
max3013.000000
00:24:44.29000000:24:44.50000000:24:44.69000000:24:44.89000000:24:45.09000000:24:45.29000000:24:45.50000000:24:45.69000000:24:45.89000000:24:46.09000000:24:46.29000000:24:46.50000000:24:46.69000000:24:46.89000000:24:47.09000000:24:47.29000000:24:47.50000000:24:47.69000000:24:47.89000000:24:48.09000000:24:48.29000000:24:48.49000000:24:48.69000000:24:48.89000000:24:49.09000000:24:49.29000000:24:49.49000000:24:49.69000000:24:49.89000000:24:50.09000000:24:50.29000000:24:50.49000000:24:50.69000000:24:50.89000000:24:51.09000000:24:51.29000000:24:51.49000000:24:51.69000000:24:51.89000000:24:52.09000000:24:52.29000000:24:52.49000000:24:52.690000050010001500200025003000
Acc_Y10-n MA Acc_YTest #28 - 3 Foot Throw
A_y
count85.000000
mean1023.494118
std244.513444
min529.000000
25%978.000000
50%994.000000
75%1025.000000
max2556.000000
00:30:46.66000000:30:46.96000000:30:47.25000000:30:47.55000000:30:47.85000000:30:48.16000000:30:48.46000000:30:48.75000000:30:49.05000000:30:49.35000000:30:49.66000000:30:49.96000000:30:50.25000000:30:50.55000000:30:50.85000000:30:51.16000000:30:51.46000000:30:51.75000000:30:52.05000000:30:52.35000000:30:52.66000000:30:52.96000000:30:53.25000000:30:53.55000000:30:53.85000000:30:54.16000000:30:54.45000000:30:54.75000000:30:55.05000000:30:55.35000000:30:55.66000000:30:55.95000000:30:56.25000000:30:56.55000000:30:56.85000000:30:57.160000050010001500200025003000
Acc_Y10-n MA Acc_YTest #29 - 3 Foot Throw
A_y
count107.000000
mean1040.841121
std258.712784
min486.000000
25%987.500000
50%1001.000000
75%1012.500000
max3088.000000
00:25:43.59000000:25:43.89000000:25:44.19000000:25:44.49000000:25:44.79000000:25:45.09000000:25:45.39000000:25:45.69000000:25:45.99000000:25:46.29000000:25:46.59000000:25:46.89000000:25:47.19000000:25:47.49000000:25:47.79000000:25:48.08000000:25:48.39000000:25:48.69000000:25:48.99000000:25:49.29000000:25:49.58000000:25:49.89000000:25:50.19000000:25:50.49000000:25:50.79000000:25:51.08000000:25:51.39000000:25:51.69000000:25:51.99000000:25:52.29000000:25:52.58000000:25:52.89000000:25:53.19000000:25:53.49000000:25:53.79000000:25:54.080000050010001500200025003000
Acc_Y10-n MA Acc_YTest #30 - 3 Foot Throw
A_y
count106.000000
mean1044.575472
std245.573961
min631.000000
25%991.250000
50%999.000000
75%1009.000000
max2963.000000

Here I am manipulating the data so that I can get a list of dictionaries that I then convert into a data frame with the max values and a category for the throw height.

{'Acc_Y_Max': 2435, 'Throw_Foot_Height': 1}
{'Acc_Y_Max': 2204, 'Throw_Foot_Height': 2}
{'Acc_Y_Max': 2613, 'Throw_Foot_Height': 3}
Acc_Y_MaxThrow_Foot_Height
024351
122401
222141
321891
418811
525681
622041
724161
822681
923121
1022042
1127812
1223822
1325672
1428272
1520132
1626062
1728272
1828382
1927462
2026133
2130153
2229213
2329143
2432223
2531693
2630133
2725563
2830883
2929633

I then break this data up into train and test arrays, and then train a logistic regression model with this data.

Value= 2000 ; Prediction= Low (1ft) Throw
Value= 2500 ; Prediction= Middle (2ft) Throw
Value= 3000 ; Prediction= High (3ft) Throw

VR Cube data

Here I am performing similar steps as above, except on the data gathered from the virtual cube. First I create a function that will convert the data into data frames.

A_yTimeStamp
0987.88333300:13:42.350000
1989.88333300:13:40.710000
2989.88333300:13:41.940000
31000.88333300:13:41.530000
4995.88333300:13:39.100000
A_yTimeStamp
01109.88333300:08:40.990000
1965.88333300:08:38.150000
21118.88333300:08:40.390000
3994.88333300:08:42.520000
4961.88333300:08:38.250000
A_yTimeStamp
0972.88333300:14:25.040000
1986.88333300:14:25.640000
21008.88333300:14:26.350000
3982.88333300:14:25.540000
41007.88333300:14:26.050000
A_yTimeStamp
0939.88333300:11:39.750000
11101.88333300:11:35.870000
2997.88333300:11:37.100000
3981.88333300:11:33.750000
4997.88333300:11:37.720000
A_yTimeStamp
0985.88333300:10:38.580000
1995.88333300:10:38.280000
2991.88333300:10:36.300000
3989.88333300:10:35
41191.88333300:10:35.390000
A_yTimeStamp
01252.38333300:13:06.930000
11153.38333300:13:07.540000
2994.38333300:13:04.540000
3941.38333300:13:08.570000
41004.38333300:13:08.270000
A_yTimeStamp
01021.88333300:00:35.290000
1966.88333300:00:37.310000
21354.88333300:00:36
3982.88333300:00:37.830000
4971.88333300:00:37.520000
A_yTimeStamp
0982.88333300:10:12.560000
1984.88333300:10:12.460000
21350.88333300:10:11.560000
31038.88333300:10:10.660000
41004.88333300:10:12.060000
A_yTimeStamp
01049.88333300:11:10.110000
1997.88333300:11:11.520000
21069.88333300:11:09.490000
31177.88333300:11:09.700000
4977.88333300:11:10.510000
A_yTimeStamp
01008.88333300:09:22.330000
11138.88333300:09:20.380000
2988.88333300:09:18.460000
3982.88333300:09:19.260000
4992.88333300:09:21.910000

Next, I re-use the same function created above to plot charts out for each of these data frames.

00:13:42.35000000:13:40.71000000:13:41.94000000:13:41.53000000:13:39.10000000:13:39.60000000:13:39.30000000:13:41.23000000:13:42.14000000:13:41.62000000:13:38.39000000:13:40.21000000:13:40.51000000:13:38.90000000:13:38.60000000:13:40.82000000:13:39.71000000:13:42.05000000:13:41.73000000:13:40.01000000:13:38.80000000:13:38.50000000:13:40.32000000:13:40.92000000:13:39.40000000:13:39.19000000:13:39.80000000:13:41.42000000:13:39.51000000:13:39.91000000:13:3900:13:41.83000000:13:40.42000000:13:40.62000000:13:38.69000000:13:41.03000000:13:40.12000000:13:41.33000000:13:42.25000000:13:41.120000050010001500200025003000
Acc_Y10-n MA Acc_YTest #1 - 1 Foot Throw
A_y
count40.000000
mean1049.083333
std111.570192
min969.883333
25%987.883333
50%994.883333
75%1041.133333
max1341.883333
00:08:40.99000000:08:38.15000000:08:40.39000000:08:42.52000000:08:38.25000000:08:42.22000000:08:41.09000000:08:42.84000000:08:41.90000000:08:40.89000000:08:39.07000000:08:37.93000000:08:40.09000000:08:38.97000000:08:42.32000000:08:39.27000000:08:41.39000000:08:41.60000000:08:39.58000000:08:38.35000000:08:39.88000000:08:40.19000000:08:40.29000000:08:39.68000000:08:42.01000000:08:42.42000000:08:38.86000000:08:38.46000000:08:41.19000000:08:39.78000000:08:38.66000000:08:41.70000000:08:42.73000000:08:38.04000000:08:40.79000000:08:39.17000000:08:42.12000000:08:40.59000000:08:40.49000000:08:41.80000000:08:39.37000000:08:38.56000000:08:39.48000000:08:42.94000000:08:42.62000000:08:40.69000000:08:41.50000000:08:39.99000000:08:38.76000000:08:41.290000050010001500200025003000
Acc_Y10-n MA Acc_YTest #2 - 1 Foot Throw
A_y
count50.000000
mean1015.863333
std84.107194
min955.883333
25%961.133333
50%994.883333
75%1009.883333
max1288.883333
00:14:25.04000000:14:25.64000000:14:26.35000000:14:25.54000000:14:26.05000000:14:23.30000000:14:26.76000000:14:23.81000000:14:25.84000000:14:26.65000000:14:22.99000000:14:24.94000000:14:25.14000000:14:22.47000000:14:24.63000000:14:23.61000000:14:24.74000000:14:24.23000000:14:24.84000000:14:24.12000000:14:23.91000000:14:26.25000000:14:25.44000000:14:25.94000000:14:24.53000000:14:26.15000000:14:26.55000000:14:22.68000000:14:22.89000000:14:25.34000000:14:22.79000000:14:23.71000000:14:25.24000000:14:23.10000000:14:24.01000000:14:24.33000000:14:24.43000000:14:26.45000000:14:22.58000000:14:23.40000000:14:25.74000000:14:23.20000000:14:23.510000050010001500200025003000
Acc_Y10-n MA Acc_YTest #3 - 1 Foot Throw
A_y
count43.000000
mean1016.720543
std85.285216
min881.883333
25%965.383333
50%994.883333
75%1017.883333
max1256.883333
00:11:39.75000000:11:37.10000000:11:37.72000000:11:35.06000000:11:38.74000000:11:38.14000000:11:34.85000000:11:36.29000000:11:35.46000000:11:37.92000000:11:37.82000000:11:34.45000000:11:36.59000000:11:36.79000000:11:34.55000000:11:34.15000000:11:34.65000000:11:33.14000000:11:34.75000000:11:34.25000000:11:35.56000000:11:35.26000000:11:36.39000000:11:39.55000000:11:39.24000000:11:36.49000000:11:38.84000000:11:36.69000000:11:33.65000000:11:35.67000000:11:37.20000000:11:32.83000000:11:38.03000000:11:35.77000000:11:33.85000000:11:35.980000050010001500200025003000
Acc_Y10-n MA Acc_YTest #4 - 1 Foot Throw
A_y
count71.000000
mean1024.221362
std95.292624
min912.883333
25%963.883333
50%994.883333
75%1061.883333
max1279.883333
00:10:38.58000000:10:38.28000000:10:36.30000000:10:3500:10:35.39000000:10:35.30000000:10:34.30000000:10:36.10000000:10:36.62000000:10:34.50000000:10:34.60000000:10:34.19000000:10:34.80000000:10:36.83000000:10:36.94000000:10:38.69000000:10:37.64000000:10:36.01000000:10:35.19000000:10:36.21000000:10:37.55000000:10:35.69000000:10:37.76000000:10:37.35000000:10:37.87000000:10:34.39000000:10:37.14000000:10:38.78000000:10:36.53000000:10:35.80000000:10:35.89000000:10:37.03000000:10:3900:10:35.10000000:10:38.89000000:10:38.07000000:10:37.44000000:10:38.39000000:10:36.73000000:10:34.69000000:10:38.48000000:10:35.60000000:10:37.23000000:10:37.96000000:10:38.16000000:10:34.89000000:10:35.50000000:10:36.420000050010001500200025003000
Acc_Y10-n MA Acc_YTest #5 - 1 Foot Throw
A_y
count48.000000
mean1021.216667
std67.957851
min979.883333
25%990.633333
50%994.883333
75%1009.133333
max1266.883333
00:13:06.93000000:13:04.54000000:13:08.27000000:13:10.38000000:13:05.16000000:13:05.47000000:13:04.75000000:13:08.66000000:13:05.27000000:13:06.20000000:13:06.41000000:13:09.18000000:13:06.82000000:13:09.28000000:13:09.78000000:13:07.24000000:13:06.10000000:13:06.61000000:13:05.79000000:13:06.30000000:13:10.08000000:13:05.68000000:13:05.06000000:13:05.90000000:13:07.97000000:13:09.68000000:13:08.17000000:13:08.98000000:13:07.34000000:13:04.34000000:13:04.950000050010001500200025003000
Acc_Y10-n MA Acc_YTest #6 - 1 Foot Throw
A_y
count62.000000
mean1049.383333
std128.191455
min907.383333
25%951.383333
50%994.883333
75%1111.633333
max1383.383333
00:00:35.29000000:00:37.31000000:00:3600:00:37.83000000:00:37.52000000:00:34.88000000:00:37.01000000:00:35.09000000:00:36.40000000:00:35.60000000:00:36.60000000:00:35.50000000:00:37.21000000:00:34.99000000:00:37.93000000:00:34.77000000:00:35.90000000:00:37.72000000:00:36.30000000:00:36.50000000:00:36.10000000:00:37.62000000:00:35.80000000:00:36.81000000:00:35.19000000:00:36.91000000:00:36.20000000:00:37.11000000:00:35.40000000:00:37.41000000:00:38.25000000:00:38.04000000:00:36.71000000:00:35.70000000:00:38.140000050010001500200025003000
Acc_Y10-n MA Acc_YTest #7 - 1 Foot Throw
A_y
count35.000000
mean1052.769048
std118.671760
min954.883333
25%979.383333
50%994.883333
75%1063.883333
max1355.883333
00:10:12.56000000:10:12.46000000:10:11.56000000:10:10.66000000:10:12.06000000:10:13.98000000:10:10.86000000:10:10.14000000:10:11.76000000:10:10.45000000:10:10.55000000:10:11.66000000:10:11.46000000:10:11.96000000:10:14.80000000:10:12.26000000:10:15.10000000:10:12.96000000:10:13.17000000:10:14.59000000:10:12.36000000:10:1500:10:10.76000000:10:14.08000000:10:13.68000000:10:15.21000000:10:12.86000000:10:10.96000000:10:14.49000000:10:13.27000000:10:14.39000000:10:11.36000000:10:11.26000000:10:12.16000000:10:10.35000000:10:11.06000000:10:13.47000000:10:13.37000000:10:13.78000000:10:14.19000000:10:14.70000000:10:11.86000000:10:12.66000000:10:14.90000000:10:13.06000000:10:13.57000000:10:11.16000000:10:12.76000000:10:10.25000000:10:13.88000000:10:14.290000050010001500200025003000
Acc_Y10-n MA Acc_YTest #8 - 1 Foot Throw
A_y
count51.000000
mean1038.981373
std102.183610
min971.883333
25%987.883333
50%994.883333
75%1037.883333
max1382.883333
00:11:10.11000000:11:11.52000000:11:09.49000000:11:09.70000000:11:10.51000000:11:10.21000000:11:10.71000000:11:11.21000000:11:12.64000000:11:10.61000000:11:12.23000000:11:12.03000000:11:08.98000000:11:11.93000000:11:13.06000000:11:11.72000000:11:10.91000000:11:09.80000000:11:09.18000000:11:08.77000000:11:08.56000000:11:12.34000000:11:09.60000000:11:11.01000000:11:09.28000000:11:11.83000000:11:09.90000000:11:11.42000000:11:09.08000000:11:10.01000000:11:10.81000000:11:10.41000000:11:12.44000000:11:12.74000000:11:11.11000000:11:11.32000000:11:12.95000000:11:12.54000000:11:12.13000000:11:09.39000000:11:08.88000000:11:12.85000000:11:08.67000000:11:10.31000000:11:11.620000050010001500200025003000
Acc_Y10-n MA Acc_YTest #9 - 1 Foot Throw
A_y
count45.000000
mean1002.505556
std52.811969
min939.883333
25%980.883333
50%994.883333
75%1004.883333
max1177.883333
00:09:22.33000000:09:20.38000000:09:18.46000000:09:19.26000000:09:21.91000000:09:20.08000000:09:22.22000000:09:18.86000000:09:21.29000000:09:18.16000000:09:21.71000000:09:19.16000000:09:21.81000000:09:20.28000000:09:21.50000000:09:18.76000000:09:17.96000000:09:19.77000000:09:22.12000000:09:21.39000000:09:17.75000000:09:18.06000000:09:19.06000000:09:20.68000000:09:21.61000000:09:20.99000000:09:22.02000000:09:19.37000000:09:19.57000000:09:21.09000000:09:19.47000000:09:19.88000000:09:17.86000000:09:18.96000000:09:20.78000000:09:18.26000000:09:18.36000000:09:20.58000000:09:21.19000000:09:20.48000000:09:18.56000000:09:20.88000000:09:20.18000000:09:18.66000000:09:19.67000000:09:19.980000050010001500200025003000
Acc_Y10-n MA Acc_YTest #10 - 1 Foot Throw
A_y
count46.000000
mean1015.600725
std64.608105
min857.883333
25%982.883333
50%994.883333
75%1010.383333
max1209.883333
00:05:44.48000000:05:46.23000000:05:45.08000000:05:45.51000000:05:49.37000000:05:45.71000000:05:47.75000000:05:49.48000000:05:48.26000000:05:44.99000000:05:45.60000000:05:44.89000000:05:46.94000000:05:47.85000000:05:48.76000000:05:49.17000000:05:47.53000000:05:49.07000000:05:46.64000000:05:49.78000000:05:49.28000000:05:44.26000000:05:45.19000000:05:46.74000000:05:49.67000000:05:46.83000000:05:45.41000000:05:46.530000050010001500200025003000
Acc_Y10-n MA Acc_YTest #11 - 2 Foot Throw
A_y
count56.000000
mean1055.222619
std136.652948
min966.383333
25%982.383333
50%994.883333
75%1039.133333
max1507.383333
00:11:10.74000000:11:07.18000000:11:09.43000000:11:08.42000000:11:08.32000000:11:10.84000000:11:07.90000000:11:06.88000000:11:10.95000000:11:09.83000000:11:10.34000000:11:10.13000000:11:10.03000000:11:09.63000000:11:08.83000000:11:09.33000000:11:08.01000000:11:09.73000000:11:09.13000000:11:07.69000000:11:08.21000000:11:09.93000000:11:10.64000000:11:10.44000000:11:08.11000000:11:10.54000000:11:06.98000000:11:08.62000000:11:09.53000000:11:09.03000000:11:09.23000000:11:08.72000000:11:07.59000000:11:07.49000000:11:06.77000000:11:08.52000000:11:07.39000000:11:07.79000000:11:07.28000000:11:10.23000000:11:07.08000000:11:08.93000000:11:06.660000050010001500200025003000
Acc_Y10-n MA Acc_YTest #12 - 2 Foot Throw
A_y
count43.000000
mean1070.022868
std155.046780
min918.883333
25%982.383333
50%994.883333
75%1112.383333
max1558.883333
00:07:09.85000000:07:12.73000000:07:10.58000000:07:13.04000000:07:15.62000000:07:15.92000000:07:15.10000000:07:10.06000000:07:13.76000000:07:10.68000000:07:11.70000000:07:13.14000000:07:10.89000000:07:13.35000000:07:13.55000000:07:10.27000000:07:12.30000000:07:11.50000000:07:10.78000000:07:13.45000000:07:15.20000000:07:14.37000000:07:15.41000000:07:12.20000000:07:12.52000000:07:14.27000000:07:14.89000000:07:13.65000000:07:1500:07:14.470000050010001500200025003000
Acc_Y10-n MA Acc_YTest #13 - 2 Foot Throw
A_y
count60.000000
mean1040.200000
std113.351784
min977.883333
25%987.883333
50%994.883333
75%1011.383333
max1467.883333
00:09:45.53000000:09:46.96000000:09:46.66000000:09:45.13000000:09:42.79000000:09:45.03000000:09:45.23000000:09:46.14000000:09:45.73000000:09:47.16000000:09:44.53000000:09:46.55000000:09:43.73000000:09:45.84000000:09:43.43000000:09:47.47000000:09:44.43000000:09:47.27000000:09:46.04000000:09:45.63000000:09:42.90000000:09:44.33000000:09:47.68000000:09:46.24000000:09:44.73000000:09:43.53000000:09:44.83000000:09:43.23000000:09:46.45000000:09:47.37000000:09:46.34000000:09:43.93000000:09:44.63000000:09:43.12000000:09:47.06000000:09:44.13000000:09:45.43000000:09:44.03000000:09:45.33000000:09:46.76000000:09:43.83000000:09:43.01000000:09:47.57000000:09:42.69000000:09:43.63000000:09:44.93000000:09:46.86000000:09:44.23000000:09:43.33000000:09:45.940000050010001500200025003000
Acc_Y10-n MA Acc_YTest #14 - 2 Foot Throw
A_y
count50.000000
mean1051.863333
std136.076545
min931.383333
25%977.383333
50%994.883333
75%1033.133333
max1465.383333
00:05:02.88000000:05:09.22000000:05:01.76000000:05:04.93000000:05:00.53000000:05:09.42000000:05:08.10000000:05:10.04000000:05:01.05000000:05:09.93000000:05:01.66000000:05:03.20000000:05:09.32000000:05:10.25000000:05:02.06000000:05:02.48000000:05:03.40000000:05:08.40000000:05:03.50000000:05:07.79000000:05:04.32000000:05:05.04000000:05:03.82000000:05:02.78000000:05:07.58000000:05:06.87000000:05:07.69000000:05:09.01000000:05:02.99000000:05:04.83000000:05:00.95000000:05:03.71000000:05:04.22000000:05:02.27000000:05:08.20000000:05:01.15000000:05:00.74000000:05:04.42000000:05:10.14000000:05:07.38000000:05:01.25000000:05:06.67000000:05:07.89000000:05:0800:05:00.64000000:05:09.83000000:05:03.30000000:05:06.37000000:05:00.42000000:05:08.300000050010001500200025003000
Acc_Y10-n MA Acc_YTest #15 - 2 Foot Throw
A_y
count100.000000
mean1022.353333
std107.627064
min861.383333
25%990.383333
50%994.883333
75%1010.633333
max1531.383333
00:01:59.88000000:01:58.77000000:02:03.40000000:02:01.87000000:02:04.94000000:01:58.97000000:01:57.85000000:02:02.68000000:01:56.85000000:02:01.34000000:02:06.57000000:02:04.73000000:02:05.86000000:02:01.24000000:02:04.02000000:02:05.46000000:02:05.15000000:01:57.35000000:02:00.92000000:02:04.84000000:02:00.29000000:02:06.27000000:02:02.99000000:01:58.26000000:01:57.25000000:02:01.97000000:02:00.81000000:02:06.47000000:02:02.89000000:02:00.39000000:02:03.30000000:02:03.19000000:02:05.66000000:02:00.18000000:02:02.48000000:01:59.48000000:02:06.06000000:02:01.76000000:02:03.09000000:01:59.07000000:02:03.71000000:02:03.92000000:02:01.13000000:02:06.37000000:02:02.28000000:02:02.58000000:01:59.18000000:01:59.280000050010001500200025003000
Acc_Y10-n MA Acc_YTest #16 - 2 Foot Throw
A_y
count96.000000
mean1022.768750
std89.574065
min971.883333
25%991.883333
50%994.883333
75%1008.883333
max1497.883333
00:03:1700:03:15.25000000:03:15.14000000:03:15.77000000:03:16.29000000:03:18.51000000:03:17.41000000:03:16.18000000:03:18.21000000:03:14.42000000:03:14.31000000:03:14.52000000:03:19.64000000:03:18.83000000:03:14.83000000:03:16.08000000:03:19.03000000:03:18.01000000:03:19.34000000:03:15.36000000:03:17.10000000:03:18.11000000:03:17.30000000:03:14.93000000:03:19.14000000:03:19.44000000:03:14.73000000:03:17.61000000:03:15.030000050010001500200025003000
Acc_Y10-n MA Acc_YTest #17 - 2 Foot Throw
A_y
count57.000000
mean1061.760526
std161.991189
min934.883333
25%987.883333
50%994.883333
75%1030.883333
max1640.883333
00:08:42.99000000:08:44.94000000:08:44.33000000:08:41.95000000:08:41.85000000:08:42.79000000:08:43.41000000:08:43.72000000:08:44.44000000:08:43.92000000:08:45.04000000:08:42.06000000:08:44.23000000:08:44.74000000:08:42.17000000:08:41.65000000:08:45.35000000:08:44.54000000:08:41.34000000:08:43.51000000:08:43.82000000:08:43.61000000:08:41.45000000:08:45.15000000:08:43.09000000:08:44.13000000:08:44.84000000:08:45.45000000:08:43.31000000:08:41.55000000:08:42.27000000:08:45.55000000:08:44.64000000:08:42.37000000:08:42.89000000:08:43.20000000:08:42.48000000:08:44.02000000:08:45.25000000:08:42.68000000:08:42.58000000:08:41.750000050010001500200025003000
Acc_Y10-n MA Acc_YTest #18 - 2 Foot Throw
A_y
count42.000000
mean1078.264286
std189.613240
min946.383333
25%971.383333
50%994.883333
75%1091.383333
max1729.383333
00:06:09.07000000:06:08.54000000:06:09.79000000:06:08.66000000:06:10.80000000:06:10.41000000:06:12.05000000:06:07.83000000:06:10.91000000:06:09.89000000:06:08.04000000:06:12.56000000:06:11.73000000:06:10.50000000:06:11.94000000:06:08.14000000:06:11.83000000:06:07.94000000:06:08.85000000:06:11.22000000:06:09.48000000:06:11.01000000:06:09.38000000:06:1000:06:08.94000000:06:12.25000000:06:10.19000000:06:09.27000000:06:12.15000000:06:11.43000000:06:12.86000000:06:08.34000000:06:11.63000000:06:11.12000000:06:12.46000000:06:12.35000000:06:08.25000000:06:11.53000000:06:10.30000000:06:10.09000000:06:09.17000000:06:09.68000000:06:10.60000000:06:08.75000000:06:09.58000000:06:10.70000000:06:08.44000000:06:12.76000000:06:11.32000000:06:12.660000050010001500200025003000
Acc_Y10-n MA Acc_YTest #19 - 2 Foot Throw
A_y
count50.000000
mean1092.803333
std201.035390
min945.383333
25%974.383333
50%994.883333
75%1067.883333
max1641.383333
00:03:38.10000000:03:38.92000000:03:40.75000000:03:42.16000000:03:39.93000000:03:40.24000000:03:39.83000000:03:36.78000000:03:37.59000000:03:37.08000000:03:40.55000000:03:37.18000000:03:38.51000000:03:38.81000000:03:39.33000000:03:41.55000000:03:40.65000000:03:40.03000000:03:40.13000000:03:40.34000000:03:36.68000000:03:39.22000000:03:39.63000000:03:36.88000000:03:39.43000000:03:38.40000000:03:36.98000000:03:41.45000000:03:38.71000000:03:40.440000050010001500200025003000
Acc_Y10-n MA Acc_YTest #20 - 2 Foot Throw
A_y
count59.000000
mean1039.154520
std142.800781
min840.883333
25%979.883333
50%994.883333
75%1001.883333
max1560.883333
00:05:00.01000000:05:02.37000000:05:03.79000000:05:01.05000000:05:02.98000000:05:02.47000000:05:04.10000000:05:04.80000000:05:05.41000000:05:02.78000000:05:02.16000000:05:00.65000000:05:04.90000000:05:01.46000000:05:01.35000000:05:00.44000000:04:59.80000000:05:05.51000000:05:05.10000000:05:04.70000000:05:00.54000000:05:03.49000000:05:04.40000000:05:00.75000000:05:00.95000000:05:05.31000000:05:01.76000000:05:0500:05:03.08000000:05:03.590000050010001500200025003000
Acc_Y10-n MA Acc_YTest #21 - 3 Foot Throw
A_y
count60.000000
mean1127.916667
std293.263228
min906.883333
25%990.883333
50%994.883333
75%1040.883333
max2037.883333
00:13:53.07000000:13:52.86000000:13:52.69000000:13:55.27000000:13:56.08000000:13:55.07000000:13:54.27000000:13:52.14000000:13:52.35000000:13:55.17000000:13:53.98000000:13:55.98000000:13:55.48000000:13:50.83000000:13:51.64000000:13:56.28000000:13:54.17000000:13:54.87000000:13:51.84000000:13:54.77000000:13:53.57000000:13:53.17000000:13:51.43000000:13:53.77000000:13:52.05000000:13:56.18000000:13:52.66000000:13:54.07000000:13:51.530000050010001500200025003000
Acc_Y10-n MA Acc_YTest #22 - 3 Foot Throw
A_y
count57.000000
mean1099.479825
std268.044297
min814.883333
25%976.883333
50%994.883333
75%1038.883333
max1977.883333
00:03:48.17000000:03:47.46000000:03:46.25000000:03:49.20000000:03:46.65000000:03:49.93000000:03:46.45000000:03:47.76000000:03:49.31000000:03:49.62000000:03:48.68000000:03:47.66000000:03:48.38000000:03:46.55000000:03:49.52000000:03:48.07000000:03:46.85000000:03:46.04000000:03:48.88000000:03:48.48000000:03:46.75000000:03:48.99000000:03:46.15000000:03:46.95000000:03:47.26000000:03:47.16000000:03:50.13000000:03:47.05000000:03:49.09000000:03:48.28000000:03:47.97000000:03:47.36000000:03:47.86000000:03:47.56000000:03:49.83000000:03:50.44000000:03:48.78000000:03:50.24000000:03:48.58000000:03:46.35000000:03:50.03000000:03:49.73000000:03:49.42000000:03:50.340000050010001500200025003000
Acc_Y10-n MA Acc_YTest #23 - 3 Foot Throw
A_y
count44.000000
mean1101.246970
std333.926332
min677.883333
25%964.883333
50%994.883333
75%1037.383333
max2099.883333
00:13:29.99000000:13:28.54000000:13:29.67000000:13:26.67000000:13:29.25000000:13:30.10000000:13:27.57000000:13:29.88000000:13:28.17000000:13:31.03000000:13:27.98000000:13:30.30000000:13:31.53000000:13:30.62000000:13:27.37000000:13:30.73000000:13:27.47000000:13:31.33000000:13:31.13000000:13:26.77000000:13:30.41000000:13:27.17000000:13:29.46000000:13:27.27000000:13:26.46000000:13:28.950000050010001500200025003000
Acc_Y10-n MA Acc_YTest #24 - 3 Foot Throw
A_y
count52.000000
mean1110.806410
std298.855191
min718.883333
25%969.883333
50%994.883333
75%1053.133333
max2062.883333
00:01:02.53000000:01:01.01000000:00:58.66000000:01:00.51000000:00:59.89000000:01:01.10000000:01:02.74000000:01:00.41000000:00:57.66000000:00:57.86000000:01:02.12000000:01:00.91000000:00:58.97000000:01:01.71000000:00:59.58000000:00:57.13000000:00:58.87000000:00:58.36000000:00:59.48000000:00:57.96000000:00:58.77000000:00:59.38000000:01:00.20000000:01:01.60000000:00:57.24000000:01:02.42000000:00:58.56000000:01:00.30000000:00:59.070000050010001500200025003000
Acc_Y10-n MA Acc_YTest #25 - 3 Foot Throw
A_y
count57.000000
mean1076.006140
std262.870967
min826.883333
25%947.883333
50%994.883333
75%1003.883333
max1928.883333
00:14:18.93000000:14:20.05000000:14:16.80000000:14:18.31000000:14:20.76000000:14:20.35000000:14:15.88000000:14:20.86000000:14:17.11000000:14:16.29000000:14:17.41000000:14:21.07000000:14:16.08000000:14:19.63000000:14:17.91000000:14:15.37000000:14:19.94000000:14:20.96000000:14:15.57000000:14:19.03000000:14:18.01000000:14:19.53000000:14:16.39000000:14:1700:14:17.31000000:14:15.98000000:14:18.11000000:14:19.13000000:14:20.250000050010001500200025003000
Acc_Y10-n MA Acc_YTest #26 - 3 Foot Throw
A_y
count58.000000
mean1086.435057
std261.196516
min689.883333
25%974.633333
50%994.883333
75%1041.133333
max1953.883333
00:04:19.12000000:04:19.03000000:04:15.32000000:04:16.85000000:04:16.66000000:04:16.55000000:04:18.53000000:04:19.62000000:04:15.94000000:04:19.23000000:04:18.92000000:04:18.62000000:04:18.10000000:04:14.01000000:04:19.53000000:04:18.21000000:04:15.73000000:04:18.01000000:04:17.17000000:04:14.71000000:04:16.15000000:04:17.80000000:04:17.08000000:04:15.83000000:04:14.42000000:04:14.51000000:04:13.81000000:04:18.42000000:04:17.28000000:04:17.600000050010001500200025003000
Acc_Y10-n MA Acc_YTest #27 - 3 Foot Throw
A_y
count59.000000
mean1090.188418
std311.442819
min718.883333
25%886.883333
50%994.883333
75%1128.383333
max2091.883333
00:03:12.99000000:03:12.89000000:03:13.60000000:03:13.39000000:03:12.39000000:03:11.59000000:03:12.49000000:03:09.74000000:03:11.69000000:03:13.09000000:03:14.74000000:03:14.11000000:03:13.29000000:03:09.85000000:03:13.19000000:03:14.22000000:03:13.49000000:03:11.48000000:03:14.64000000:03:11.79000000:03:09.96000000:03:10.27000000:03:11.08000000:03:12.79000000:03:12.69000000:03:10.48000000:03:10.78000000:03:10.06000000:03:10.58000000:03:11.38000000:03:13.70000000:03:12.59000000:03:12.19000000:03:14.33000000:03:14.44000000:03:14.84000000:03:14.54000000:03:14.01000000:03:10.88000000:03:11.18000000:03:12.29000000:03:10.17000000:03:11.28000000:03:11.89000000:03:13.90000000:03:10.98000000:03:10.68000000:03:13.80000000:03:10.38000000:03:12.09000000:03:11.990000050010001500200025003000
Acc_Y10-n MA Acc_YTest #28 - 3 Foot Throw
A_y
count51.000000
mean1090.746078
std296.260427
min796.883333
25%904.883333
50%994.883333
75%1074.383333
max2014.883333
00:01:23.93000000:01:22.71000000:01:22.39000000:01:22.30000000:01:19.64000000:01:22.91000000:01:21.59000000:01:20.78000000:01:19.85000000:01:19.42000000:01:23.21000000:01:23.51000000:01:23.71000000:01:21.80000000:01:22.50000000:01:24.05000000:01:19.75000000:01:2200:01:20.25000000:01:23.41000000:01:20.67000000:01:21.89000000:01:20.46000000:01:20.05000000:01:20.37000000:01:21.30000000:01:23.82000000:01:22.09000000:01:19.21000000:01:21.09000000:01:23.11000000:01:23.61000000:01:20.16000000:01:24.14000000:01:2100:01:19.96000000:01:20.89000000:01:23.01000000:01:19.53000000:01:21.19000000:01:22.82000000:01:22.19000000:01:19.32000000:01:21.50000000:01:23.32000000:01:20.57000000:01:21.69000000:01:22.60000000:01:21.390000050010001500200025003000
Acc_Y10-n MA Acc_YTest #29 - 3 Foot Throw
A_y
count49.000000
mean1148.883333
std309.413828
min828.883333
25%983.883333
50%994.883333
75%1176.883333
max2036.883333
00:02:47.60000000:02:45.33000000:02:48.89000000:02:45.94000000:02:48.60000000:02:48.50000000:02:45.73000000:02:46.76000000:02:49.10000000:02:4900:02:46.03000000:02:45.44000000:02:48.19000000:02:48.39000000:02:49.19000000:02:47.80000000:02:49.30000000:02:46.35000000:02:45.83000000:02:46.14000000:02:46.96000000:02:47.48000000:02:47.69000000:02:46.23000000:02:45.64000000:02:48.10000000:02:48.80000000:02:45.53000000:02:47.28000000:02:46.87000000:02:48.69000000:02:4800:02:47.37000000:02:48.30000000:02:46.55000000:02:46.66000000:02:47.07000000:02:47.89000000:02:47.17000000:02:46.460000050010001500200025003000
Acc_Y10-n MA Acc_YTest #30 - 3 Foot Throw
A_y
count40.000000
mean1111.508333
std272.508169
min869.883333
25%966.133333
50%994.883333
75%1108.133333
max1858.883333

From here, I get the same max value data I used to train the logistic regression model, except this time using the virtual cube data.

{'Acc_Y_Max': 1341.8833333333332, 'Throw_Foot_Height': 1}
{'Acc_Y_Max': 1507.3833333333332, 'Throw_Foot_Height': 2}
{'Acc_Y_Max': 2037.8833333333332, 'Throw_Foot_Height': 3}
Acc_Y_MaxThrow_Foot_Height
01341.8833331
11288.8833331
21256.8833331
31279.8833331
41266.8833331
51383.3833331
61355.8833331
71382.8833331
81177.8833331
91209.8833331
101507.3833332
111558.8833332
121467.8833332
131465.3833332
141531.3833332
151497.8833332
161640.8833332
171729.3833332
181641.3833332
191560.8833332
202037.8833333
211977.8833333
222099.8833333
232062.8833333
241928.8833333
251953.8833333
262091.8833333
272014.8833333
282036.8833333
291858.8833333

I then gather some data to determine the accuracy of the model and use the virtual cube data in the logistic regression to see how it classifies the data.

Value= 1341.883 | Trial Number= 00 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1288.883 | Trial Number= 01 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1256.883 | Trial Number= 02 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1279.883 | Trial Number= 03 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1266.883 | Trial Number= 04 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1383.383 | Trial Number= 05 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1355.883 | Trial Number= 06 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1382.883 | Trial Number= 07 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1177.883 | Trial Number= 08 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1209.883 | Trial Number= 09 | Predicted Height= Low (1ft) Throw | Actual Height= Low (1ft) Throw | Actual and Expected Match= True
Value= 1507.383 | Trial Number= 10 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1558.883 | Trial Number= 11 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1467.883 | Trial Number= 12 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1465.383 | Trial Number= 13 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1531.383 | Trial Number= 14 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1497.883 | Trial Number= 15 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1640.883 | Trial Number= 16 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1729.383 | Trial Number= 17 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1641.383 | Trial Number= 18 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 1560.883 | Trial Number= 19 | Predicted Height= Low (1ft) Throw | Actual Height= Middle (2ft) Throw | Actual and Expected Match= False
Value= 2037.883 | Trial Number= 20 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 1977.883 | Trial Number= 21 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 2099.883 | Trial Number= 22 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 2062.883 | Trial Number= 23 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 1928.883 | Trial Number= 24 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 1953.883 | Trial Number= 25 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 2091.883 | Trial Number= 26 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 2014.883 | Trial Number= 27 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 2036.883 | Trial Number= 28 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False
Value= 1858.883 | Trial Number= 29 | Predicted Height= Low (1ft) Throw | Actual Height= High (3ft) Throw | Actual and Expected Match= False

Finally, I calculate model accuracy.

Accuracy: 0.3333333333333333

Notice the accuracy number is quite low. In our case, as we were trying to use the model to see if the physics of the virtual cube had a similar feel to physics within he physical world, we can interpret this low model accuracy to indicate that the virtual cube does not currently match with natural physics. When examining the data, we can see that the physics in the virtual world were too sensitive, given that predictions were all the low throw.

Conclusion

We can see from the data above that the throw height logistic regression model was not able to predict the virtual throw heights correctly. Importantly, we can see that the throw heights predicted were consistently below the actual throw heights that occured when performing the trials. What this means is that if we are making physics within VR, we can use these types of logistic regression functions as a check to see how resposinve the virutal physics are relative to actual physics. Should we fork and modify the internals of the physics library used within the virtual scene, we could eventaully calbirate the virtual physics to roughly match the feel of actual physics, and test that it matches by applying the logistic regression function implemented in this project. As a result, we think that this method of analysis and the use of the sensor tile could be very valuable tools for anyone wanting to calibrate Virtual Reality applications so that they have a more natural feel to them.